<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%request.setCharacterEncoding("UTF-8");%>
<jsp:useBean id="ps" class="Person" scope="page"/>
<jsp:setProperty name="ps" property="*"/>
姓名：<jsp:getProperty property="name" name="ps"/>
性别：<jsp:getProperty property="sex" name="ps"/>
年龄：<jsp:getProperty property="age" name="ps"/>
</body>
</html>
